<template>
    <div>
        <BaseTable
            :id="'budgetDetailTemplate'"
            :canAdd="true"
            :data.sync="data.budgetDetailTemplate"
            :config="tableConfig"
            :showSummary="true"
            @popRow="len => !len && $root.$emit('uploadBtnDisabled', 'budgetDetailTemplate', false)"
            :fieldsCanModified="['quantities', 'remarks']"
            @summary-change="summaryChange"
            :summaryColumn="['totalPrice']"
        ></BaseTable>
    </div>
</template>

<script>
import BudgetTemplate from './BudgetTemplate';
export default BudgetTemplate;
</script>

<style lang="less" scoped></style>
